﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectMainFault.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.SvrMgr.SelectMainFault" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>选择主要故障分类</title>
</head>
<body>
     <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server"></f:PageManager>
        <f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
            <Toolbars>
                <f:Toolbar ID="Toolbar2" Position="Top" runat="server">
                    <Items>
                        <f:ToolbarFill runat="server" />
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server" Text="关闭">
                        </f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose"  runat="server" Text="选择后关闭" OnClick="btnSaveClose_Click">
                        </f:Button>
                         <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClearClose" ValidateForms="SimpleForm1" Icon="Cancel"  runat="server" Text="取消选择" OnClick="btnClearClose_Click">
                        </f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
            <Regions>
                <f:Region ID="Region1" ShowBorder="false" ShowHeader="false"  Width="300px" Position="Left" Layout="Fit" BodyPadding="5px" runat="server">
                    <Items>
                        <f:Grid ID="gdPar" runat="server" ShowBorder="true" ShowHeader="true"  Title="主要故障分类" EnableCheckBoxSelect="false"  DataKeyNames="ID" AllowSorting="true"  SortField="Title" SortDirection="DESC" OnRowDataBound="gdPar_RowDataBound" EnableRowClickEvent="true" OnRowClick="gdPar_RowClick" >
                           <Columns>    
                               <f:RowNumberField Width="35px" EnablePagingNumber="true"></f:RowNumberField>                           
                                <f:BoundField DataField="Title" HeaderText="主要故障分类" ExpandUnusedSpace="true" />                               
                            </Columns>
                        </f:Grid>
                    </Items>
                </f:Region>
                <f:Region ID="Region2" ShowBorder="false" ShowHeader="false" Position="Center" Layout="VBox" BoxConfigAlign="Stretch" BoxConfigPosition="Left" BodyPadding="5px 5px 5px 0" runat="server">
                    <Items>                       
                        <f:Grid ID="gdSub" runat="server" BoxFlex="1" ShowBorder="true" ShowHeader="true"  Title="故障明细项"  DataKeyNames="ID,Title" AllowSorting="true" SortField="Title" SortDirection="DESC" EnableMultiSelect="false" EnableCheckBoxSelect="true" OnRowDataBound="gdSub_RowDataBound">
                              <Columns>
                                <f:RowNumberField Width="35px" EnablePagingNumber="true"></f:RowNumberField>
                                <f:BoundField DataField="Title" HeaderText="故障名称" ExpandUnusedSpace="true" /> 
                            </Columns>
                        </f:Grid>
                    </Items>
                </f:Region>
            </Regions>
        </f:RegionPanel>        
    </form>
</body>
</html>
